<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 悬停文字颜色为红色 */
        a:hover {
            color: red;
            background-color: aqua;
        }
        div:hover {
            color: aqua;
            background-color: chocolate;
        }
    </style>
</head>
<body>
    <a href="#">这是超链接</a>
    <div>48965</div>
</body>
</html>